package com.webchat.common.constants;

/***
 * 常量池
 */
public class WebConstant {

    /**
     * redis前缀
     */
    public static final String REDIS_KEY_PREFIX = "WEB_CHAT_";

    public static final int HTTP_STATUS_OK = 200;

    /**
     * 缓存的空值
     */
    public static final String CACHE_NONE = "none";

    public static final int CACHE_NONE_NUMBER = -1;

    /**
     * 系统账户
     */
    public static final String SYSTEM_WALLET_ID = "U_770cce9f632543588b4e8aa6ec43e6a2";

    /**
     * AI助手默认账号id
     */
    public static final String AI_AGENT_ID = "AI_ef352f698ad7b60c1d8a3aaa4a948030";
    /**
     * webchat支付-服务号
     */
    public static final String WEBCHAT_PAY_ID = "S_51a7fbf50155c4b08c55fbbcfc5911db";

    /**
     * 系统USERID
     */
    public static final String SYSTEM_USER_ID = "SYSTEM";

    /**
     * MD5 盐值
     */
    public static final String MD5_SALT = "SAH(S&0218328jdhaj(**";

    /***
     * 用户登录SESSION KEY
     */
    public static final String SESSION_KEY_USER_LOGIN_INFO = "user_login_info_session";

    /**
     * & 符号
     */
    public static final String AND_SIGN = "&";

    /**
     * utf-8编码
     */
    public static final String ENCODING_UTF8 = "UTF-8";

    /***
     * 分隔符
     */
    public static final String SPLIT_CHAR = ",";

    public static final String SEMICOLON_SPLIT_CHAR = "；";

    /***
     * 图形验证吗session key
     */
    public static final String PIC_VALID_CODE_SESSION_KEY = "PIC_VALID_CODE_SESSION";

    /**
     * 支付结果队列回调递增区间，单位ms
     */
    public static final Long[] PAYMENT_CALL_BACK_TIMES = {10 * 1000L,
                                                          60 * 1000L,
                                                          10 * 60 * 1000L,
                                                          60 * 60 * 1000L,
                                                          24 * 60 * 1000L};

    /**
     * 商家智能客服，机器人代发消息延迟5分钟后触发
     */
    public static final int MALL_AI_IM_MSG_DELAY_TIME = 5 * 60;
}
